<%--
  Created by IntelliJ IDEA.
  User: Kinder2003
  Date: 2022/5/12
  Time: 17:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>充值系统</title>
</head>
<body>
<table align="center" border="1" width="500">
    <form action="${pageContext.request.contextPath}/addMoneyServlet" method="post">


            <tr>
                <td>您的余额为：${sessionScope.user.money}</td>
            </tr>
            <tr>
                <td><label for="moneynum">充值金额:</label></td>
                <td><input type="text" id="moneynum" name="moneynum" placeholder="请输入充值金额（例10.00)"></td>
            </tr>
            <tr>
                <td><input type="submit" value="提交"></td>
                <td><a class="btn btn-default" href="${pageContext.request.contextPath}/dishListServlet">返回菜单</a></td>
            </tr>



    </form>

    </table>

</body>
</html>
